import axios from "../../utils/axios";
/**
 *  2.0版本
 */

// /dailyBus/deleteDailyNew 删除每日新品
export function deleteDailyNew(query) {
    return axios({
        url: "/dailyBus/deleteDailyNew",
        method: "get",
        params: query
    });
}
// /dailyBus/batchAddDailyNew 批量添加每日新品
export function batchAddDailyNew(query) {
    return axios({
        url: "/dailyBus/batchAddDailyNew",
        method: "get",
        params: query
    });
}

// /pick/getPickUpOrdersList 提货管理 获取当前商家的商品列表
export function getPickUpOrdersList(query) {
    return axios({
        url: "/pick/getPickUpOrdersList",
        method: "get",
        params: query
    });
}

// /pick/getDetailList 提货管理 查看详情
export function getDetailList(query) {
    return axios({
        url: "/pick/getDetailList",
        method: "get",
        params: query
    });
}
// /pick/changeStatus 商家端-修改提货单状态
export function changeStatus(query) {
    return axios({
        url: "/pick/changeStatus",
        method: "post",
        data: query
    });
}
// /pick/getPurchaseOrdersList 获取商户进货列表
export function getPurchaseOrdersList(query) {
    return axios({
        url: "/pick/getPurchaseOrdersList",
        method: "get",
        params: query
    });
}
// /pick/getPurchaseCommodityList 获取商户进货列表
export function getPurchaseCommodityList(query) {
    return axios({
        url: "/pick/getPurchaseCommodityList",
        method: "get",
        params: query
    });
}
// /pick/pickOrder 商家端-发起提货申请
export function pickOrder(query) {
    return axios({
        url: "/pick/pickOrder",
        method: "post",
        data: query
    });
}
// /merchants/hatch/getHatchUser 分页查询孵化团队成员列表
export function getHatchUser(query) {
    return axios({
        url: "/goldendays-promote/manage/hatch/getHatchUser",
        method: "post",
        data: query
    });
}
